package method;

public class isOverflow {
    public static boolean sum(int num1, int num2) {
        int r=num1+num2;
        if(((num1^r)&(num2^r))<0) {
            return true;
        }
        return false;
    }
}
